﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Repository.Models
{
    public class PrincipalHotline : BusinessFullEntityBase<Guid>
    {
        /// <summary>
        /// 幼儿id
        /// </summary>
        public Guid ChildId { get; set; }

        /// <summary>
        /// 班级
        /// </summary>
        public Guid ClassId { get; set; }

        /// <summary>
        /// 家长id
        /// </summary>
        public Guid ParentId { get; set; }

        /// <summary>
        /// 家属关系
        /// </summary>
        public int? Relationship { get; set; }

        /// <summary>
        /// 是否回复
        /// </summary>
        public bool IsReply { get; set; } = false;

        /// <summary>
        /// 内容
        /// </summary>
        public string? Content { get; set; }

        /// <summary>
        /// 内容图片
        /// </summary>
        public List<PrincipalHotlineImage>? Images = null;

        public List<PrincipalHotlineReply>? ReplyList = null;
    }
}
